package ws.jdbc.concurrent.driver.sqlserver.cursor.wrapper;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * This interface provides services to move in any direction and read-only upon
 * a {@link ResultSet} object.
 * 
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
public interface ICursorScrollReadOnly extends ICursorForwardReadOnly {

  boolean absolute(int row) throws SQLException;

  void afterLast() throws SQLException;

  void beforeFirst() throws SQLException;

  boolean previous() throws SQLException;

  boolean relative(int rows) throws SQLException;
}
